szepeviktor
Repos
1297
Followers
355
Following
215

Tools and living docs 🧬 for Debian-based servers and Web Applications

400
111

⚗️ Adds code analysis to Laravel improving developer productivity and code quality.

4224
295

WordPress extensions for PHPStan ⛏️

174
20

Install and manage WordPress with Composer

9
0

WAF for WordPress 🔥 with 60+ security checks and weekly updates

102
18

Tools 🧰 for developing and running WordPress websites

86
26

Events

issue comment
Fixes auto-discovery by resolving the correct vendorDir in package scenarios.

This even passes "Test Laravel from other working directories"!

Created at 1 hour ago
issue comment
Larastan is not auto-discovering service providers.

@mad-briller How about finding ClassLoader by filtering ClassLoader::getRegisteredLoaders() throwing away ^phar:?

Created at 1 hour ago
issue comment
Larastan is not auto-discovering service providers.

Thank you!!

Created at 1 hour ago
issue comment
Larastan is not auto-discovering service providers.

Could you please help me and dump this array var_dump(ClassLoader::getRegisteredLoaders()) ?

Created at 1 hour ago
issue comment
Larastan is not auto-discovering service providers.

PHPStans work the very same way https://github.com/phpstan/phpstan-src/blob/71c7bf889fbf0ef3b6ef28841eb97c43ed3b30b0/src/Testing/TestCaseSourceLocatorFactory.php#L40

Created at 1 hour ago
issue comment
Larastan is not auto-discovering service providers.

@mad-briller Does Composer\Autoload\ClassLoader exist under your vendor/composer directory?

Created at 2 hours ago
issue comment
Larastan is not auto-discovering service providers.

phpstan.phar/vendor/composer/ClassLoader.php

Oh noooooooooooooooooooooooooooooooooooooooooo! PHPStan really contains that class.

Created at 2 hours ago
issue comment
Larastan is not auto-discovering service providers.

@mad-briller Could you vardump this line? https://github.com/nunomaduro/larastan/blob/dd1087d0cc0b7fcd5fd652737b5ec4c0d1e00272/src/ApplicationResolver.php#L63

Created at 2 hours ago
issue comment
Larastan is not auto-discovering service providers.

Just an idea, I added a ComposerHelper class to PHPStan

Where does $root come from? All those helpers need that.

Created at 2 hours ago
issue comment
Larastan is not auto-discovering service providers.

Hello Brad!

getVendorDir locates Composer\Autoload\ClassLoader class. Could it be that PHPStan PHAR file includes this class?? 🤯

Created at 2 hours ago
issue comment
Drop Python 2 support

PY3 has to be removed.

Created at 1 day ago
pull request opened
Drop Python 2 support

On Debian stable

$ /usr/bin/env python
/usr/bin/env: ‘python’: No such file or directory

Python 2 was EOL-ed almost 3 years ago https://www.python.org/doc/sunset-python-2/

What do you think?

Created at 1 day ago

Drop Python 2 support

Created at 1 day ago

Leave ancient PHP versions behind in CI

Created at 1 day ago
Missing stub: genesis_do_post_title

Hi there. I noticed that the stub for the function, genesis_do_post_title, is missing but I am not sure why or how to remedy the situation. In my project, I created a stub file and included it in the phpstan.neon. That works fine but I would like to contribute back to this repo if possible. Searching the Genesis codebase reveals that this function has been present since version 1.1.0 so I think it should be included. If you can point me in the right direction, I can make a PR to re-build the stubs files with this function present.

Created at 1 day ago
issue comment
Missing stub: genesis_do_post_title

https://github.com/php-stubs/genesis-stubs/blob/643c34ccf95bb32baca2b15f15a1d04726dd3339/finder.php#L5

Created at 1 day ago
szepeviktor create tag v3.4.0
Created at 1 day ago

Release v3.4.0 Include lib/structure/

Created at 1 day ago
issue comment
Missing stub: genesis_do_post_title

Just lay back Clayton. https://youtu.be/BzerWhLQrew?t=72 When this number end genesis_do_post_title will be included.

Created at 1 day ago

Fix source/ ignoring

Created at 1 day ago
issue comment
My take on CI :)

Nowadays my default CI looks like this.

kép

Created at 2 days ago
issue comment
Fix failing test under PHP8 and provide a fallback value for string

Now CI says

Attempt to read property "post_type" on null

Created at 2 days ago

Generate stubs for WordPress 5.0.17

Generate stubs for WordPress 5.1.14

Generate stubs for WordPress 5.2.16

Generate stubs for WordPress 5.3.13

Generate stubs for WordPress 5.4.11

Generate stubs for WordPress 5.5.10

Generate stubs for WordPress 5.6.9

Generate stubs for WordPress 5.7.7

Generate stubs for WordPress 5.8.5

Generate stubs for WordPress 5.9.4

Generate stubs for WordPress 6.0.2

Created at 2 days ago