Commit Graph

30 Commits

Author SHA1 Message Date
Buster Neece 89b1d913a1
Type fixes relating to DI phpstan stubs. 2024-01-14 13:51:04 -06:00
Buster Neece 9fe90b1d3c
Merge commit '8ea5b1b85e9477cd6f1bbff475839b4e88986be5' 2023-12-04 00:48:40 -06:00
Buster Neece 723e9402ac
Apply scanning to more files. 2023-06-08 09:22:50 -05:00
Buster Neece e772001fb0
Tweak parallelizing settings. 2023-01-18 21:39:57 -06:00
Buster Neece 4c59ad57ec
Update GH action versions. 2023-01-17 23:53:10 -06:00
Buster Neece ec61c234f6
Add bootstrapping code to linting/static analysis. 2022-11-16 01:46:16 -06:00
Buster "Silver Eagle" Neece f46314d8c4
Improve accuracy of generics. 2022-05-31 06:41:35 -05:00
Buster "Silver Eagle" Neece fe3dd94e75
PhpStan fixes. 2021-12-12 09:18:07 -06:00
Buster "Silver Eagle" Neece 79b1bc5c4a
PHPStan upgrade and new baseline.
Changelogs summary:

 - phpstan/phpstan updated from 0.12.96 to 1.0.1 major
   See changes: https://github.com/phpstan/phpstan/compare/0.12.96...1.0.1
   Release notes: https://github.com/phpstan/phpstan/releases/tag/1.0.1

 - phpstan/phpstan-doctrine updated from 0.12.44 to 1.0.1 major
   See changes: https://github.com/phpstan/phpstan-doctrine/compare/0.12.44...1.0.1
   Release notes: https://github.com/phpstan/phpstan-doctrine/releases/tag/1.0.1
2021-11-02 23:12:02 -05:00
Buster "Silver Eagle" Neece b5fc9ad601
Use shared CallableEventManager library. 2021-08-04 21:24:27 -05:00
Buster "Silver Eagle" Neece 5cbacd5df6
System-Wide Strict Types (#4405) 2021-07-19 00:53:45 -05:00
Buster "Silver Eagle" Neece f666389ac4
Disable parallelism in PHPStan to fix CI issues. 2021-07-06 06:30:43 -05:00
Buster "Silver Eagle" Neece 1c959dd3ff
Implement checkfile format exceptions for CI builds 2021-04-25 09:52:00 -05:00
Buster "Silver Eagle" Neece 5724b78073
Composer dependency update and code style fixes from new test suites. 2020-12-01 07:45:01 -06:00
Buster "Silver Eagle" Neece 06c301a03b
Revert to previous phpstan usage (the new one breaks stuff). 2020-08-31 18:27:30 -05:00
Buster "Silver Eagle" Neece 63e0040e8f
Bump static analysis level and make strict type fixes. 2020-08-31 17:32:30 -05:00
Buster "Silver Eagle" Neece 511eccfc1e
Fixes to PHPStan and minor typo fixes. 2020-08-31 03:28:40 -05:00
Buster "Silver Eagle" Neece 8e9f4d9d34
Remove error exception that isn't an error any more. 2020-07-01 19:37:23 -05:00
Buster "Silver Eagle" Neece 4bcfad3eb5
Updates preparing for Doctrine 3.0
- Switch to EntityManagerInterface for EM uses
 - Wrap EntityManager in close-resilient wrapper
 - Close/clear/reopen EM with every request
 - Rework tests to be em->clear() resilient.
2020-06-26 15:22:53 -05:00
Buster "Silver Eagle" Neece 4d4d75ad4d
Reunify AzuraCore and AzuraCast repositories. 2020-02-05 20:35:13 -06:00
Buster "Silver Eagle" Neece 0dbc9d32e3
Modify PHPStan configuration for static analysis. 2019-09-29 16:50:20 -05:00
Buster "Silver Eagle" Neece daf78fa738
Move Settings and Logging to static system-wide functions. 2019-09-12 00:31:01 -05:00
Buster Neece e1f976be96 Static analysis fixes. 2019-03-07 20:07:48 -06:00
Buster Neece 8da3c074a7 Remove rule exception from PHPStan. 2019-03-04 22:39:35 -06:00
Buster "Silver Eagle" Neece 7fa44db264 More minor code fixes, add linting to CI and docker.sh script. 2019-01-31 14:29:45 -06:00
Buster "Silver Eagle" Neece 8a6701403a Code and PHPDoc cleanup to green-light level 2 static analysis. 2019-01-31 11:54:17 -06:00
Buster "Silver Eagle" Neece fae265b9c8 Make the CI phpstan level match, as it won't detect the ignored errors. 2019-01-30 23:32:57 -06:00
Buster "Silver Eagle" Neece 4b8c157b6c Code cleanup from static analysis. 2019-01-30 23:25:55 -06:00
Buster "Silver Eagle" Neece 91c334ffff Create PHPStan bootstrap file, integrate into Travis CI. 2019-01-30 21:36:07 -06:00
Vaalyn a174c3ba5b Add phpstan as dev dependency (#1130)
* Add PHPStan as dev dependency with configuration

* Remove TODO
2019-01-30 20:49:36 -06:00