phar icon indicating copy to clipboard operation
phar copied to clipboard

A place for Psalm's Phar to live in a composer-versioned setting

Results 11 phar issues
Sort by recently updated
recently updated
newest added

Hey there, I wonder if it is possible to have the `config.xsd` file available from within this package? I do maintain https://github.com/laminas/laminas-ci-matrix-action which does detect `psalm.xml`/`psalm.xml.dist`. As of now, we...

It'd be useful to still be able to use the correct version of the `config.xsd` when using the phar.

``` Uncaught Error: Call to undefined method Psalm\Config::getConfigForPath() in phar:///Users/nathane/.phive/phars/psalm-5.23.0.phar/src/Psalm/Internal/CliUtils.php:265 Stack trace: #0 phar:///Users/nathane/.phive/phars/psalm-5.23.0.phar/src/Psalm/Internal/Cli/Psalm.php(383): Psalm\Internal\CliUtils::initializeConfig(NULL, '/Users/nathane/...', 'console', Object(Composer\Autoload\ClassLoader), false) #1 phar:///Users/nathane/.phive/phars/psalm-5.23.0.phar/src/Psalm/Internal/Cli/Psalm.php(670): Psalm\Internal\Cli\Psalm::loadConfig(NULL, '/Users/nathane/...', 'console', Object(Composer\Autoload\ClassLoader), false, Array) #2 phar:///Users/nathane/.phive/phars/psalm-5.23.0.phar/src/Psalm/Internal/Cli/Psalm.php(204): Psalm\Internal\Cli\Psalm::initConfig('/Users/nathane/...',...

needs reproducer

I use `psalm/phar` 4.23.0 When running on PHP 8.1 I get the following output: ``` PHP Deprecated: Return type of HumbugBox383\KevinGH\RequirementChecker\RequirementCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the...

Hey there, most plugins usually require `vimeo/psalm` in a specific version. I wonder if it is possible to actually change `conflict` to `replace` while using `self.version`. For every psalm release,...

`vimeo/psalm` 5.0.0-alpha1 and 5.0.0-beta1 requires PHP `^7.4 || ~8.0.0 || ~8.1.0` while `psalm/phar` of these versions requires `^7.1 || ^8.0` additionally, `psalm/phar` does not require any extensions, which `vimeo/psalm` requires.

Hello, I'm getting the following error on psalm/phar installations from v4.17.0 to the latest version. Running the command `./bin/psalm.phar --update-baseline`: ``` Uncaught RuntimeException: PHP Error: Declaration of Psalm\Internal\Fork\PsalmRestarter::requiresRestart($default): bool should...

Consider the following code: ```php

Using `psalm.phar --version` for the latest 4.5.1 release shows `Psalm 4.x-dev@`. Expected to see version number `4.5.1`. P.S. I used `phive` to update psalm which got the file `https://github.com/vimeo/psalm/releases/download/4.5.1/psalm.phar`.

At the moment it's impossible to install a psalm plugin because `phar/psalm` has a conflict with `vimeo/psalm` which plugins depend on (for instance https://github.com/psalm/psalm-plugin-phpunit/blob/138998ffd32b76a2e69eb1ff94ef2bf110967273/composer.json#L22). A possible solution might be composer's...