Bruce Weirdan
a978d2039b
Don't use deprecated method
2020-05-04 07:09:24 +03:00
Bruce Weirdan
5ea01f2c84
Merge pull request #70 from weirdan/fix-gitattributes
...
Add missing export-ignore
2020-05-04 07:08:59 +03:00
Bruce Weirdan
2fc5e66744
Add missing export-ignore
2020-05-04 07:02:09 +03:00
Bruce Weirdan
12b3978cea
Merge pull request #67 from weirdan/shim-queueClassLikeForScanning
...
Shim queueClassLikeForScanning
2020-04-06 01:49:26 +03:00
Bruce Weirdan
6705c8cfc1
Merge pull request #66 from weirdan/add-gitattributes
...
Added gitattributes to exclude dev files from dist archives
2020-04-06 01:43:10 +03:00
Bruce Weirdan
5f5070276d
Shim queueClassLikeForScanning
2020-04-06 01:31:38 +03:00
Bruce Weirdan
e31d9f5e0a
Added gitattributes to exclude dev files from dist archives
2020-04-05 23:09:17 +03:00
Bruce Weirdan
a87e003713
Merge pull request #65 from weirdan/update-to-codeception-4.x
...
Update to Codeception 4.x
2020-04-05 21:51:07 +03:00
Bruce Weirdan
63838b8e39
Bump PHPUnit to 7.5+
...
Codeception 4.x is not compatible with lower versions
2020-04-05 21:43:16 +03:00
Bruce Weirdan
20e147f40d
Update to Codeception 4.x
2020-04-05 21:41:57 +03:00
Matthew Brown
4b662fd63f
Merge pull request #64 from weirdan/rename-stubs
...
Rename stubs from *.php to *.phpstub
2020-04-05 14:21:51 -04:00
Bruce Weirdan
5128529ca9
Rename stubs from *.php to *.phpstub
...
This hides them from PHPStorm, preventing false positives it used to
emit.
2020-04-05 20:49:25 +03:00
Bruce Weirdan
e997675691
Merge pull request #61 from radarlog/psr-4
...
Ensure compatibility with PSR-4 autoloading standard
2020-04-05 20:25:05 +03:00
Ilian Ranguelov
47958c59b3
Revert "reflect stubs"
...
This reverts commit 7989d190
2020-04-05 17:34:36 +02:00
Ilian Ranguelov
7989d190ed
reflect stubs
...
and ensure compatibility with PhpStorm
2020-04-03 22:43:16 +02:00
Ilian Ranguelov
049de92c15
add composer config section
2020-04-03 20:35:14 +02:00
Ilian Ranguelov
7cef85e751
define php requirements
2020-04-03 20:32:23 +02:00
Ilian Ranguelov
4e1e824b83
apply PSR-4 to tests
2020-04-03 20:27:38 +02:00
Ilian Ranguelov
00b480fcb0
apply PSR-4 to source
2020-04-03 20:26:50 +02:00
Bruce Weirdan
ebfae6c319
Merge pull request #60 from weirdan/fix-travis-lint-warnings
...
Fixed travis lint warnings
2020-04-02 00:20:23 +03:00
Bruce Weirdan
668554f84c
Merge pull request #50 from snapshotpl/patch-1
...
Assert functions are public and static
2020-04-02 00:03:06 +03:00
Bruce Weirdan
067bb8d149
Fixed travis lint warnings
2020-04-01 23:49:19 +03:00
Witold Wasiczko
aa0be36782
Assert functions are public and static
2020-04-01 20:11:28 +02:00
Bruce Weirdan
d3c96627cd
Cache effectively ( #59 )
...
* Cache composer cache, don't cache vendor
Instead of caching the vendor folder (which changes for every job, as
different levels of dependencies are installed) we now cache composer
cache folders (where it stores downloaded packages and cloned repos).
This should make caching much more effective, without introducing any
persistance issues (as metadata used for dependency resolution is not
cached).
* Allow vendor changes autodiscard
`ocramius/package-versions` changes the file it installs, so composer
may notice this (when the package is installed from source?) and refuse
upgrade/downgrade.
2020-04-01 13:08:24 +03:00
Bruce Weirdan
30b2242720
Merge pull request #58 from weirdan/fix-external-dataproviders-when-psalm-runs-on-a-single-file
...
Fix external dataproviders when psalm runs on a single file
2020-03-30 13:43:56 +03:00
Bruce Weirdan
ed3ea8bcc4
retry composer install
2020-03-30 07:10:02 +03:00
Bruce Weirdan
2d6f22f31a
Allow psalm deps downgrade
2020-03-30 06:16:37 +03:00
Bruce Weirdan
a7b8db9bf3
Cast more MethodIdentifiers
2020-03-30 06:06:56 +03:00
Bruce Weirdan
8c6e83095e
Cast method ids to string for compatibility with older Psalm
2020-03-30 05:28:04 +03:00
Bruce Weirdan
9074932d62
Make Psalm happy
2020-03-30 05:14:12 +03:00
Bruce Weirdan
8f98135364
Store external dataprovider references in afterClassLikeVisit
...
This fixes false-positive UndefinedClass issues when Psalm is run on a
single test file with cold cache.
Fixes psalm/psalm-plugin-phpunit#57
2020-03-30 04:50:31 +03:00
Bruce Weirdan
ab21faac5c
Fix unrelated test failure
2020-03-30 04:47:58 +03:00
Bruce Weirdan
c389fbd301
Bump weirdan/codeception-psalm-module
2020-03-30 04:40:37 +03:00
Matthew Brown
496c08f088
Add string cast
2020-02-14 21:43:43 -05:00
Matthew Brown
59dbe2ffb9
Merge pull request #52 from SignpostMarv/patch-3
...
phpunit 9 was released
2020-02-07 11:41:44 -05:00
SignpostMarv
23c57a0d8d
cache vendor directory
...
while psalm/phpunit-psalm-plugin#46 borrowed psalm's use of `composer clear cache` in psalm/phpunit-psalm-plugin@8250289 , it didn't also include the vendor directory caching.
2020-02-07 13:45:06 +00:00
SignpostMarv
a54c65cb76
allow failures with vimeo/psalm:dev-master
2020-02-07 13:15:29 +00:00
SignpostMarv
e113531999
rolling back constraint
...
supporting newer versions of phpunit leads to an issue where if `Foo extends TestCase` and `TestCase::setUp()` does not explicitly return void, failure occurs.
see psalm/phpunit-psalm-plugin#53
2020-02-07 13:13:10 +00:00
SignpostMarv
4330aea865
updating codeception/base constraint
...
* codeception/phpunit-wrapper 7.x does not allow phpunit 8 to be installed
* codeception/base 2.5 does not allow codeception/phpunit-wrapper 8.x to be installed
2020-02-07 12:47:33 +00:00
SignpostMarv
bac311aa8b
isolate build failures from vimeo/psalm:dev-master
...
isolate build failures of `composer update` from `vimeo/psalm:dev-master`
2020-02-07 11:17:38 +00:00
SignpostMarv
7bf7bec20b
removing comment
...
psalm travis config features a non-nightly 7.4 entry as of 3.8.1
2020-02-07 10:55:13 +00:00
SignpostMarv
1b4b4c0f16
phpunit 9 was released
...
https://mobile.twitter.com/s_bergmann/status/1225698301208432642
2020-02-07 10:19:25 +00:00
Bruce Weirdan
8e2be0239b
Merge pull request #46 from SignpostMarv/travis/7.4-testing
...
travis 7.4 testing
2020-01-12 01:08:47 +02:00
SignpostMarv
8250289a2e
clear composer cache before install, as per vimeo/psalm
2020-01-11 21:09:19 +00:00
SignpostMarv
94b0bbd618
let travis run builds on 7.4
2020-01-11 20:13:17 +00:00
Bruce Weirdan
021eb5a8c1
Merge pull request #45 from weirdan/external-data-providers
...
External data providers
2020-01-10 02:31:44 +02:00
Bruce Weirdan
4784273e7e
Added proxy method to fix deprecation warnings
2020-01-10 02:17:35 +02:00
Bruce Weirdan
fc18507f97
Added support for external providers
...
Fixes psalm/phpunit-psalm-plugin#44
2020-01-10 02:02:25 +02:00
Matthew Brown
a577f90951
Merge pull request #42 from SignpostMarv/patch-2
...
Amend unionizeIterables to support TList
2019-12-17 08:10:36 -05:00
SignpostMarv
0981c34759
Amend unionizeIterables to support TList
...
https://psalm.dev/docs/annotating_code/type_syntax/array_types/#lists
> A list type is of the form list<SomeType>, where SomeType is any permitted union type supported by Psalm.
>
> * `list` is a subtype of `array<int, mixed>`
> * `list<Foo>` is a subtype of `array<int, Foo>`.
2019-12-17 10:06:51 +00:00