2fba281b14
Fix PHPDoc placement before PHP 8 class attributes and add regression tests ( #1769 )
...
* Initial plan
* Add tests for PHP class attribute placement and fix whitespace in regex
Co-authored-by: barryvdh <[email protected] >
* Add advanced edge case tests: final+nested-brackets and multiple attributes
Co-authored-by: barryvdh <[email protected] >
* Add PHP 8.5 test for closures inside attribute arguments
Co-authored-by: barryvdh <[email protected] >
* composer fix-style
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected] >
Co-authored-by: barryvdh <[email protected] >
Co-authored-by: laravel-ide-helper <[email protected] >
2026-03-04 12:00:42 +01:00
Barry vd. Heuvel
cff155b0d3
Replace psalm with larastan ( #1755 )
...
* Use larastan instead of psalm
* Fix cs
* Fix baseline
2026-02-07 14:32:53 +01:00
Markus Podar
a8b34ad228
Removed support for Laravel 8 and therefore for PHP < 8.0 ( #1504 )
...
* Removed support for Laravel 8 and therefore for PHP < 8.0
* Update php-cs-fixer to v3
* composer fix-style
2024-02-05 13:25:08 +01:00
Markus Podar and Barry vd. Heuvel
764bc02b84
[CODESTYLE] Replace phpcs with php-cs-fixer ( #1030 )
...
* composer require --dev friendsofphp/php-cs-fixer:^2
* php-cs-fixer: ignore cache and custom local config file
* php-cs-fixer: initial config
* php-cs-fixer: replace commands in composer
* php-cs-fixer: add PSR12 "as good as it currently gets"
* php-cs-fixer: apply PSR12 to codebase
* tests: add workaround to keep unused imports for snapshot testing
* php-cs-fixer: apply no_unused_imports
* php-cs-fixer: apply array_syntax short
* php-cs-fixer: apply single_quote
* php-cs-fixer: switch ordered_imports sort_algorithm to alpha
Let's be opinionated here for consistency
* php-cs-fixer: split between non-tests and tests and share config
* php-cs-fixer: apply declare_strict_types for tests
* php-cs-fixer: apply fully_qualified_strict_types
* php-cs-fixer: apply space_after_semicolon
* php-cs-fixer: apply trailing_comma_in_multiline_array
* php-cs-fixer: apply trim_array_spaces
* php-cs-fixer: apply unary_operator_spaces
* php-cs-fixer: apply whitespace_after_comma_in_array
* php-cs-fixer: apply native_function_invocation
* php-cs-fixer: apply concat_space
* grumphp: reflect we're using phpcsfixer now
* composer remove --dev squizlabs/php_codesniffer
* gha: simplify fix-style approach
Not really necessary to remove packages and then manually prevent
unrelated commits creeping in
Co-authored-by: Barry vd. Heuvel <[email protected] >
2020-09-01 11:32:31 +02:00
Markus Podar
4a6d127440
Improve gitignore a bit ( #1029 )
...
- build isn't used AFAIK?
- add `/` prefix were we know they're only expected to be in the root anyway
except `.phpunit.result.cache` which may appear anywhere it's run from
2020-08-31 20:33:07 +02:00
Markus Podar
fb0c576806
[PROPOSAL] Add more tests to the library ( #865 )
...
* phpunit: use dedicate `Tests` namespace for tests
* tests: replace phpunit with orchestra/testbench
* phpunit: ignore result cache file
* phpunit: adapt test for newer version
* tests: add base testcase class with a helper to run/assert commands
* tests: add test for ide-helper:eloquent
* travis: add global default variables
* travis: disable xdebug, speeds up running tests
* travis: convert php versions to build matrix for environment vars
* travis: only run phpcs/phpunit when the env vars signal it
However phpcs only runs with one test combination from the matrix,
not necessary to execute it every time.
2020-01-01 22:51:21 +01:00
Barry vd. Heuvel
0e84805e37
Update gitignore
2016-06-08 21:39:39 +02:00
Barry vd. Heuvel
6dea46ff3e
Initial commit
2013-03-10 01:07:57 +01:00