1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-21 05:45:10 +01:00
Commit Graph

6895 Commits

Author SHA1 Message Date
Brown
3e15fa8bfe Fix bad namespacing 2019-06-05 11:15:52 -04:00
Brown
4dba1e694f Change psalm-refactor perms 2019-06-05 10:43:51 -04:00
Brown
cfb38c315c Add psalm-refactor redirect 2019-06-05 10:43:15 -04:00
Matthew Brown
f327d75116 Add actual file moving 2019-06-05 08:50:24 -04:00
Matthew Brown
ad4e2f72e2 Add means to guess PSR4 file path 2019-06-05 08:50:24 -04:00
Brown
f309c755f8 Add ability to move classes 2019-06-05 08:50:24 -04:00
Matthew Brown
13779e760e Fix #1736 - forbid | in @psalm-assert 2019-06-05 00:46:55 -04:00
Matthew Brown
5a9052fa18 Use low 7.2 for Phar 2019-06-04 20:32:30 -04:00
Matthew Brown
a581b4c443 Build Phar on 7.1 so it doesn’t get php73 polyfill
Fixes #1739
2019-06-04 19:14:12 -04:00
Brown
c7f35c263c Fix #1737 properly 2019-06-04 14:08:49 -04:00
Brown
67c9851b95 Fix Psalm bug, and add test to capture it 2019-06-04 13:43:11 -04:00
Brown
d34c1a94db Fix #1737 - treat !isset($x, $y) properly 2019-06-04 13:43:09 -04:00
Brown
778b95d335 Add support for moving class constants 2019-06-04 11:14:49 -04:00
Matthew Brown
e486b25173
Fix typo 2019-06-04 08:50:50 -04:00
Matthew Brown
856180ac2a
Add MissingParamType fix documentation 2019-06-04 08:45:01 -04:00
Matthew Brown
99a2d86661 Prevent installation of PHP7.3 polyfill 2019-06-04 01:58:50 -04:00
Matthew Brown
a9809ab28a Add property moving & renaming 2019-06-04 00:32:19 -04:00
Brown
20422cf223 Fix #1730 - parse @param * $foo properly 2019-06-03 15:46:25 -04:00
Brown
523ad144a2 Fix @psalm-suppress with newline 2019-06-03 15:02:28 -04:00
Brown
99e6cd819f Remove unnecessary command 2019-06-03 12:30:20 -04:00
Brown
65a7c1bbcd Improve documentation for psalm-refactor 2019-06-03 12:24:32 -04:00
Brown
3cbadf2eff Fix regex 2019-06-03 12:24:18 -04:00
Brown
87d7ca8672 Trim lagging asterisks 2019-06-03 12:13:38 -04:00
Brown
9d1b620f55 Fix too-long line 2019-06-03 11:26:25 -04:00
Brown
ae8ccdbcd7 Add add info notification to progress 2019-06-03 11:20:42 -04:00
Brown
6eecb46b34 Fix #1725 - mcrypt_get_cipher_name was incorrect 2019-06-03 10:35:16 -04:00
Brown
29eda50ed9 Fix #1716 - no notice when using single arg in min 2019-06-03 10:33:54 -04:00
Brown
2f29dcce93 Fix #1728 - remove extra data in template-extends annotation 2019-06-03 10:28:54 -04:00
Gert de Pagter
6d25b1f9a2 Fix whitespace 2019-06-03 08:55:56 -04:00
Marco Pivetta
624c7bc6fb Renamed Fn to TFn to allow for PHP 7.4 compatibility 2019-06-03 08:21:25 -04:00
Matthew Brown
fc0f625f62 Add safeguards to prevent bad refactor input 2019-06-02 23:33:57 -04:00
Matthew Brown
2439a9f6a0 Allow instance method renaming, too 2019-06-02 12:02:39 -04:00
Bruce Weirdan
7f86e3cdc5 Deploy phar on all branches 2019-06-02 11:25:53 -04:00
Bruce Weirdan
e6f4f27498 Simplify build config by using repo filter
Also deploy signature to psalm/phar repo (because why not)
2019-06-02 11:25:53 -04:00
Bruce Weirdan
96521a6469 Rearrange build/sign/deploy
- Phar signing moved to build-phar.sh (conditional on gpg keys
availability)
- Tagged phar releases moved to travis-deploy-phar.sh
- `travis-deploy-phar.sh` is now triggered via `script` deploy provider
2019-06-02 11:25:53 -04:00
Bruce Weirdan
b494629d55 Allow people using their own travis on their forks
Deployment to `psalm/phar` repo is possible only when travis runs on the
main `vimeo/psalm` repository people, so only attempt to deploy there
when `$GITHUB_TOKEN` is available.
2019-06-02 11:25:53 -04:00
Bruce Weirdan
1c03d6f076 Implemented multiple composer roots for plugins (#1723)
Refs vimeo/psalm#1710
2019-06-02 11:23:56 -04:00
Bruce Weirdan
8534955572 Namespace autoloaded functions (#1724)
Since functions defined in files referenced in 'files' section in
composer autoload config are automatically loaded when composer
autoloader is included (for example when Psalm is installed into project
vendors), it's good idea to keep them namespaced. Otherwise it would
prevent dependents to declare their own functions in the global
namespace with the same names.
2019-06-02 11:23:25 -04:00
Matthew Brown
5eb7cb9b04 Improve file update progress output 2019-06-02 09:59:45 -04:00
Matthew Brown
0ad57695a8 Clone atomic extra types as well 2019-06-02 09:52:57 -04:00
Matthew Brown
2b0a17c1c8 Add simple tool to move static methods 2019-06-02 01:10:50 -04:00
Matthew Brown
4b5f89d9d0 Disable code coverage 2019-06-01 22:54:03 -04:00
Matthew Brown
a92edda495 Temporarily disable code coverage while I figure out a way forward 2019-06-01 21:51:50 -04:00
Matthew Brown
1318b7e0fa
Add extra dash 2019-06-01 20:23:51 -04:00
Matthew Brown
07e74633d6
Add back phpmyadmin dev req 2019-06-01 20:06:36 -04:00
Matthew Brown
a3d2391acb
Install paratest for 7.3 2019-06-01 19:28:08 -04:00
Matthew Brown
8b90f7e93e
Disable paratest 2019-06-01 19:25:59 -04:00
Matthew Brown
10db8d5402 Regular tests use PHPUnit 2019-06-01 19:14:24 -04:00
Matthew Brown
385a9b009e Add paratests 2019-06-01 19:08:37 -04:00
Matthew Brown
d6e1b26b9f Try to make tests faster 2019-06-01 19:03:24 -04:00