Giuseppe Mazzapica

Results 20 issues of Giuseppe Mazzapica

Composer v2 `PluginEvents::PRE_POOL_CREATE` makes it possible to filter the packages to be used in the `Pool`. If that provides a degree of power to plugins, it could be possible to...

- "Static" QA, which doesn't need to run on multiple PHP versions, is now executed in a separate job, instead of relying on a condition. The idea is in future...

## Expected Behavior I expect to be able to start a local environment that includes VIP MU plugins. ## Actual Behavior The gist of the problem is that the latest...

Probably [Arraize](https://github.com/FoilPHP/Foil/blob/master/src/Kernel/Arraize.php) should be extracted from Foil main repo. It can be useful outside Foil and, moreover, would be possible outiside Foil to better implement tranformers and probably other stuff.

note

Currently in unit tests there are some [pretty hackish methods](https://github.com/FoilPHP/Foil/blob/master/tests/src/TestCase.php#L37-L93) to do something similar to what [Andrew](https://github.com/Giuseppe-Mazzapica/Andrew) does. We should probably remove those methods and just implement _Andrew_.

enhancement
tests

## What problem would the enhancement address for VIP? In PHP 8.1 the filter [`FILTER_SANITIZE_STRING` has been deprecated](https://www.php.net/manual/en/filter.filters.sanitize.php). So a code that was using: ```php $x = filter_input(INPUT_POST, 'something', FILTER_SANITIZE_STRING);...

It makes use of a new UrlsHelper class. Tests and documentation added. See #125

### Is your feature request related to a problem? In #58 @strangerkir Proposed to make use of the "unused use" sniff from [Slevomat coding standard](https://github.com/slevomat/coding-standard). As part of #70, that...

enhancement
needs-vote

### Is your feature request related to a problem? Curently we have a rule that enforces a reasonable amount of cyclomatic complexity. *Cyclomatic complexity* is a purely aritmetic value, which...

enhancement

### Is your feature request related to a problem? We already enforce functions' arguments and return types, considering that version v2 of this repo is PHP 7.4+ we should also...

enhancement