22d50486cf
TASK: Remove unused intersphinx
...
* As long as we don't make use of intersphinx disable it to speed up
rendering of documentation.
2017-04-25 15:35:24 +02:00
2cc21fdafa
TASK: Cleanup code
...
* Remove unnecessary documentation.
* Remove unused code.
* Add missing documentation.
Relates: #72
2017-04-25 15:20:35 +02:00
21cf62b949
TASK: migrate InheritanceSniff
...
Relates: #72
2017-04-25 15:09:32 +02:00
14c82e4a10
TASK: Migrate IsACallSniff
...
* Add further tests with quotes.
* Handle prefix in strings.
* Remove old originalTokenContent which is no longer in use, as we use
str_replace, introduced in earlier commit.
Relates: #72
2017-04-25 14:36:19 +02:00
d12990f6e1
TASK: Streamline test output on error
2017-04-25 14:16:59 +02:00
efd5d9114f
TASK: Migrate MissingNamespaceSniff
...
* Make MissingNamespaceSniff work again.
* Move to old namespace as it's a custom sniff, not a general one.
* Do not use new feature here, implement logic internal.
* Remove message from ruleset, use it directly.
Relates: #72
2017-04-25 14:11:40 +02:00
d3b612790c
TASK: Make inline replacements work again
...
* As sometimes not the whole token should be replaces, but only the
classname within the token, we replace them always this way.
* Before the refactoring, that was done in the concrete sniffs.
* Affected are e.g. php doc comments.
Relates: #72
2017-04-25 13:45:46 +02:00
8572740fd1
TASK: Shorten test output
...
* Remove unnecessary information to shorten output.
* This should make it easier to get the actual issue.
2017-04-25 13:41:36 +02:00
c91dc8065f
TASK: Make TypeHintCatchExceptionSniff work again
...
* Fix wrong class name, to allow features to match.
Relates: #72
2017-04-25 13:33:56 +02:00
0c6bb133a1
TASK: Make some tests pass again
...
* All tests where only file name in diff was wrong are working again.
Relates: #72
2017-04-25 13:28:09 +02:00
c4c8faacd2
WIP: Fix TypeHintSniff
...
* Make TypeHintSniff tests pass again.
* Fix typo in class name preventing new feature mechanism from matching.
Relates: #72
2017-04-25 13:25:48 +02:00
94df1f2ad1
WIP: Fix use sniff
...
* Make use sniff tests pass again.
Relates: #72
2017-04-25 13:16:58 +02:00
2b1a1a0f19
WIP: Fix broken MissingVendorForPluginsAndModulesSniff tests
...
Relates: #72
2017-04-25 13:05:48 +02:00
cc0be4a5b4
WIP: Move features to own namespace
...
* Have all feature related classes in a single namespace.
Relates: #72
2017-04-25 13:03:36 +02:00
2f6dc2304a
WIP: Refactor code to new architecture
...
* Migrate class names.
* Add new architecture of "Features".
* Configure old assignments for new features.
* Rename necessary parts.
Relates: #72
2017-04-25 12:58:19 +02:00
b502e52920
TASK: Add missing license
...
* Add license to file.
2017-04-25 08:20:08 +02:00
Daniel Hürtgen
99e38e43af
Merge branch 'feature/cleanup' into 'develop'
...
TASK: Remove no longer used .scrutinizer.yml
See merge request !76
2017-04-13 23:48:18 +02:00
0b7828e6c5
TASK: Remove no longer used .scrutinizer.yml
...
* As we don't use Scrutinizer any longer, but our own CI on gitlab.
2017-04-13 19:06:30 +02:00
Daniel Hürtgen
851e81d194
Merge branch 'feature/improve-ci' into 'develop'
...
Improve CI file
See merge request !75
2017-04-13 17:58:04 +02:00
Daniel Hürtgen
0a212788fb
Merge branch 'hotfix/add-readme-again' into 'develop'
...
TASK: Update readme
See merge request !73
2017-04-13 17:56:51 +02:00
42e04617bc
BUGFIX: CGL issue
...
* Follow CGL and fix issue.
2017-04-13 16:14:56 +02:00
af43a99bfd
TASK: Use yaml references
...
* Don't repeat yourself.
* Make file shorter and easier to read.
* Also make it easier to change something.
2017-04-13 16:13:16 +02:00
7ed37db05f
TASK: Only generate one report
...
* As second report is not necessary and won't be generated since the
first call will return exit > 0
2017-04-13 16:12:46 +02:00
aabb7a5059
TASK: Generate multiple reports
...
* As no further calls are made once a call failed.
* Therefore call all reports in a single command.
2017-04-13 16:11:04 +02:00
498e00c6f0
TASK: Add missing phpdoc
2017-04-13 16:05:34 +02:00
6e602cf5f5
TASK: Add all remaining TypoScripts
...
Resolves: #54
2017-04-13 16:02:40 +02:00
5387e553c5
TASK: Add remaining TypoScript changes for 7.1
...
Relates: #54
2017-04-13 15:51:01 +02:00
74eb4dde20
TASK: Document yaml structure
...
* To ease contributions and modifications
Relates: #54
2017-04-13 15:44:52 +02:00
7c5d95d0e0
TASK: Update test
...
* Make sure test is running again with new additions of cObjects.
* Also fix description containing dot at the end.
Relates: #54
2017-04-13 15:30:42 +02:00
3e9d8c01c8
TASK: Rename TypoScript sniff
...
* As we not only check ObjectIdentifier's anymore, but also further
parts, renamce sniff to be more generic.
* Also rename configuration and tests accordingly.
Relates: #54
2017-04-13 15:27:25 +02:00
ca4d687155
FEATURE: Also check TypoScript objects
...
* Not only check paths, but also objects like cObjects.
* Update test input for verification.
* Add further breaking changes for 7.1
2017-04-13 15:22:38 +02:00
12fcc704dc
TASK: Fix php syntax issue
...
* It's not even a warning, but still wrong
2017-04-13 15:21:59 +02:00
2e7f155b8d
TASK: Configure all 7.0 breaking changed for ObjectIdentifier
...
Relates: #54
2017-04-13 14:57:33 +02:00
e1b3f31c78
FEATURE: Add second TypoScript check
...
* Extend test to show what's possible and covered and what is not
covered yet.
Relates: #54
2017-04-13 14:20:36 +02:00
b394cff3d2
TASK: Add new configuration option to docs
...
Relates: #54
2017-04-13 13:48:01 +02:00
920c923ed7
FEATURE: Add missing method to make tests pass.
...
* Retrieve yaml files for removed typoscript object identifier.
Relates: #54
2017-04-13 13:40:04 +02:00
154fe43582
FEATURE: Allow multiple files to be used as insert for tests
...
* Detect file for php and TS out of the box.
* Keep old handling to configure file name.
* Also detect file format, e.g. TypoScript, and configure phpcs
tokenizer accordingly.
Relates: #54
2017-04-13 13:39:08 +02:00
7a999212e2
FEATURE: Add first TypoScript sniff
...
* Add configuration for removed object identifiers.
* Add sniff for removed object identifiers.
Relates: #54
2017-04-13 13:32:20 +02:00
e7dbac4d33
TASK: Cleanup php code
...
* Adjust variable name, as this is generic and not about constants.
2017-04-13 13:31:32 +02:00
896117aa01
TASK: Add docs how to lint TypoScript
...
Relates: #54
2017-04-13 13:25:35 +02:00
0bddc8c291
TASK: Update readme
...
* As documentation exists now, we don't need all the information in
readme.
* Just link the official documentation.
* We can safely point to the domain and adjust the redirect at read the
docs itself.
Relates: #63 , !71
2017-04-13 12:28:33 +02:00
Daniel Hürtgen
979ae3bbcf
Merge branch 'feature/63-provide-real-documentation' into 'develop'
...
FEATURE: Add documentation rendering
See merge request !71
2017-04-13 12:20:50 +02:00
Daniel Hürtgen
186df67fce
Merge branch 'feature/64-add-missing-tests' into 'develop'
...
Feature/64 add missing tests
Closes #64
See merge request !72
2017-04-13 12:13:29 +02:00
fc8d3579ff
TASK: Add hint how to disable warnings for specific deprecations
2017-04-13 12:04:46 +02:00
6a3d18ecfc
TASK: Add further test cases to GenericConstantUsageSniff
...
* To show what's also working and what will potentially provide non
helpful warnings.
Relates: #64
2017-04-13 12:02:44 +02:00
9a905c492a
TASK: Add missing test for GenericFunctionCallSniff
...
Resolves: #64
2017-04-13 11:56:52 +02:00
34e616355f
TASK: Add missing test for GenericConstantUsageSniff
...
Relates: #64
2017-04-13 11:49:53 +02:00
c87546de29
BUGFIX: Broken documentation
...
* Fix broken links
* Fix broken syntax
Relates: #63
2017-04-13 11:02:50 +02:00
d15388849e
TASK: Cleanup gitlab-ci.yml
...
* Remove artifacts which are not necessary as output is shown in job
2017-04-13 11:00:02 +02:00
e05941ea46
TASK: Add requirements.txt to enable read the docs
...
* As we use a different theme.
Relates: #63
2017-04-13 10:55:08 +02:00