Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 101 | All time: 9,718 This week: 404![]() |
Version | License | PHP version | Categories | |||
nero 1.0.0 | The PHP License | 5 | PHP 5, Debug, Testing |
<p align="center"> <img src="https://i62.servimg.com/u/f62/11/13/61/32/nero-010.png" width="250"> </p> <p align="center"> <a class="badge-align" href="https://www.codacy.com/app/DeGraciaMathieu/Nero?utm_source=github.com&utm_medium=referral&utm_content=DeGraciaMathieu/Nero&utm_campaign=Badge_Grade"><img src="https://api.codacy.com/project/badge/Grade/d79b8fc9f4bb44b48af1faf0881d4e73"/></a> <a href="https://scrutinizer-ci.com/g/degraciamathieu/nero/?branch=master"><img src="https://scrutinizer-ci.com/g/DeGraciaMathieu/Nero/badges/quality-score.png?b=master" alt="Scrutinizer Code Quality"></a> <a href="https://packagist.org/packages/degraciamathieu/nero"><img src="https://img.shields.io/packagist/v/degraciamathieu/nero.svg?style=flat-square" alt="Latest Version on Packagist"></a> <a href='https://packagist.org/packages/degraciamathieu/nero'><img src='https://img.shields.io/packagist/dt/degraciamathieu/nero.svg?style=flat-square' /></a> </p>
This package allows you to simulate a fatal error in your PHP application
Run in console below command to download package to your project:
composer require degraciamathieu/nero
There are two possibilities : `
Breaker::syntaxError()`
and `
Breaker::classNotFound()`
.
You can pass to these methods several criteria: a file, a specific line and a parameter.
require 'vendor\autoload.php';
use \DeGraciaMathieu\Nero\Breaker;
Breaker::syntaxError($file = null, $line = null, $parameter = null);
By default the method will automatically complete all these criteria.
require 'vendor\autoload.php';
use \DeGraciaMathieu\Nero\Breaker;
Breaker::syntaxError();
require 'vendor\autoload.php';
use \DeGraciaMathieu\Nero\Breaker;
Breaker::classNotFound();
require 'vendor\autoload.php';
use \DeGraciaMathieu\Nero\Breaker;
Breaker::syntaxError('Website\routes\web.php', 120, ';');
require 'vendor\autoload.php';
use \DeGraciaMathieu\Nero\Breaker;
Breaker::classNotFound('Website\routes\web.php', 30, 'MySpecificClass');
<p align="center"> <img src="https://i62.servimg.com/u/f62/11/13/61/32/nero-010.png" width="250"> </p> <p align="center"> <a class="badge-align" href="https://www.codacy.com/app/DeGraciaMathieu/Nero?utm_source=github.com&utm_medium=referral&utm_content=DeGraciaMathieu/Nero&utm_campaign=Badge_Grade"><img src="https://api.codacy.com/project/badge/Grade/d79b8fc9f4bb44b48af1faf0881d4e73"/></a> <a href="https://scrutinizer-ci.com/g/degraciamathieu/nero/?branch=master"><img src="https://scrutinizer-ci.com/g/DeGraciaMathieu/Nero/badges/quality-score.png?b=master" alt="Scrutinizer Code Quality"></a> <a href="https://packagist.org/packages/degraciamathieu/nero"><img src="https://img.shields.io/packagist/v/degraciamathieu/nero.svg?style=flat-square" alt="Latest Version on Packagist"></a> <a href='https://packagist.org/packages/degraciamathieu/nero'><img src='https://img.shields.io/packagist/dt/degraciamathieu/nero.svg?style=flat-square' /></a> </p>
This package allows you to simulate a fatal error in your PHP application
Run in console below command to download package to your project:
composer require degraciamathieu/nero
There are two possibilities : `
Breaker::syntaxError()`
and `
Breaker::classNotFound()`
.
You can pass to these methods several criteria: a file, a specific line and a parameter.
require 'vendor\autoload.php';
use \DeGraciaMathieu\Nero\Breaker;
Breaker::syntaxError($file = null, $line = null, $parameter = null);
By default the method will automatically complete all these criteria.
require 'vendor\autoload.php';
use \DeGraciaMathieu\Nero\Breaker;
Breaker::syntaxError();
require 'vendor\autoload.php';
use \DeGraciaMathieu\Nero\Breaker;
Breaker::classNotFound();
require 'vendor\autoload.php';
use \DeGraciaMathieu\Nero\Breaker;
Breaker::syntaxError('Website\routes\web.php', 120, ';');
require 'vendor\autoload.php';
use \DeGraciaMathieu\Nero\Breaker;
Breaker::classNotFound('Website\routes\web.php', 30, 'MySpecificClass');
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Doc. | Documentation |
![]() |
/ | src |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.