Detect disallowed interface methods, docs update #215
Closed
spaze
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Method calls from interface implementations are now detected (#212, @enumag wrote the test, thanks)
So you can disallow
Interface::method()
andImplementation::method()
will also be detected. It already worked for constructors so makes sense to support it generally.Attributes in config can be specified like
#[\Foo()]
, not just likeFoo
(#207)Make copy/pasting attribute names more straightforward. Similar already works for method calls etc.
Split the README into multiple smaller files (#209 + #210)
The README file was getting way too big already, making it shorter also gives better overview of what the extension does.
Internal changes
And write a test to test that all test files are actually
require
d because I don't trust anyone (=me) to not forget to add that file. Autoloading them seemed fine but the order could be more or less random which could break some tests, and it did.list<type>
instead oftype[]
where possible (Use more preciselist<type>
instead oftype[]
where possible #214)This discussion was created from the release Detect disallowed interface methods, docs update.
Beta Was this translation helpful? Give feedback.
All reactions