Code Monkey home page Code Monkey logo

requirements's Introduction

Bolt Requirements

PHP and system requirement definitions for Bolt.

Using

<?php

use Bolt\Requirement\BoltRequirements;
use Symfony\Requirements\Requirement;

$requires = new BoltRequirements('/path/to/bolt');

/** @var Requirement $require */
foreach ($requires->getFailedRequirements() as $require) {
    echo $require->getTestMessage(), PHP_EOL;
    echo $require->getHelpText(), PHP_EOL;
}

/** @var Requirement $require */
foreach ($requires->getFailedRecommendations() as $require) {
    echo $require->getTestMessage(), PHP_EOL;
    echo $require->getHelpText(), PHP_EOL;
}

requirements's People

Contributors

gwendolenlynch avatar carsonf avatar l0rn avatar

Stargazers

Duncan de Boer avatar  avatar Ulumuddin Cahyadi Yunus avatar Max Roeleveld avatar Roberto Santana avatar Thomas Kekeisen avatar Arthur Guigand avatar

Watchers

Ross Riley avatar James Cloos avatar Bob den Otter avatar Xiao-Hu Tai avatar  avatar Sebastiaan Bonardt avatar  avatar Néstor de Dios Fernández avatar Ivo Valchev avatar  avatar

Forkers

largo

requirements's Issues

xdebug.max_nesting_level

function($cfgValue) { return $cfgValue > 500; },
true,
'xdebug.max_nesting_level should be above 500 in php.ini',
'Set "<strong>xdebug.max_nesting_level</strong>" to e.g. "<strong>500</strong>" in php.ini<a href="#phpini">*</a> to stop Xdebug\'s infinite recursion protection erroneously throwing a fatal error in your project.'

Either, the check should be $cfgValue >= 500

Or, the help text should say Set "<strong>xdebug.max_nesting_level</strong>" to e.g. "<strong>501</strong>"

Because putting the level at 500 doesn't get rid of the message right now.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.