Benign php 441,371,882 installs Download

phpstan/phpstan 2.1.20

“PHPStan - PHP Static Analysis Tool”

Basename is uppercase README.mdCalls PHP file_put_contents()

Evidence

HTTP URL targets JPEG, PNG or GIF README.md · lines 1–9
1:27… - PHP Static Analysis Tool</h1>
2
3<p align="center">
4 <img src="https://i.imgur.com/WaRKPlC.png" alt="PHPStan" width="300" height="300">
5</p>
6
7<p align="center">
8 <a href="https://github.com/phpstan/phpstan/actions"><img src="https://github.com/phpstan/phpstan/workflows/Tests/badge.svg" alt="Build Status"></a>
9 <a hre …
At least four Markdown-style heading lines README.md · lines 17–31
17:90… ole classes of bugs
18even before you write tests for the code. It moves PHP closer to compiled languages in the sense that the correctness of each line of the code
19can be checked before you run the actual line.
20
21**[Read more about PHPStan »](https://phpstan.org/)**
22
23**[Try out PHPStan on the on-line playground! »](https://phpstan.org/try)**
24
25## Sponsors
26
27Want your logo here? [Learn more »](https://phpstan.org/sponsor)
⋯4 lines
Twenty or more Markdown HTTP link spans UPGRADING.md · lines 2–15
2:19… ===============
3
4## PHP version requirements
5
6PHPStan now requires PHP 7.4 or newer to run.
7
8## Upgrading guide for end users
9
10The best way to get ready for upgrade to PHPStan 2.0 is to update to the **latest PHPStan 1.12 release**
11and enable [**Bleeding Edge**](https://phpstan.org/blog/what-is-bleeding-edge). This will enable the new rules and behaviours that 2.0 turns on for all users.
12
13Also make sure to install and enable [`phpstan/phpstan-deprecation-rules`](https://github.com/phpstan/phpstan-deprecation-rules).
14
15Once you get to a green build with no deprecations showed on latest PHPStan 1.12.x with Bleeding Edge enabled, you can update all …
imports Composer\Autoload\ClassLoader bootstrap.php · lines 1–14
1<?php declare(strict_types = 1);
2
3namespace PHPStan;
4
5use Composer\Autoload\ClassLoader;
6use function class_exists;
7use const PHP_VERSION_ID;
8
9final class PharAutoloader
⋯5 lines
PHP script path suffix bootstrap.php · lines 27–37
27:44… {
28 self::$composerAutoloader = require 'phar://' . __DIR__ . '/phpstan.phar/vendor/autoload.php';
29 require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/jetbrains/phpstorm-stubs/PhpStormStubsMap.php';
30 require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/react/async/src/functions_include.php';
31 require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/react/promise/src/functions_include.php';
32 }
33 self::$composerAutoloader->loadClass($class);
⋯4 lines

Showing the top 5 files — 7 more files (60 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.