Giter VIP home page Giter VIP logo

phpfmt_7-1's Introduction

phpfmt_7-1

Fix the phpfmt nullable types space issue with php 7.1 and above : nanch/phpfmt_stable#36

Fix the phpfmt space after "yield from" issue with php 7.1 and above : nanch/phpfmt_stable#37

Fix the ClassToStatic pass issue : nanch/phpfmt_stable#31

Fix modifier issue when PHP keyword is used as method name : nanch/phpfmt_stable#18 / nanch/phpfmt_stable#19

Fix : PHP keyword used as function names must not be lowercased since PHP7

Fix replace is_null when preceded by an exclamation to negate it : nanch/phpfmt_stable#11

Install https://github.com/nanch/phpfmt_stable then replace the fmt.phar

To replace it you can either use the one provided here (not recommended) or use the fix-fmt.php script to automatically fix your current fmt.phar file.

With the provided script

The provided script takes no argument but contains the path of the file to fix so I would recommend you to replace the fourth line if necessary.

Also the PHP configuration "phar.readonly" must be disable for the fix-fmt.php script to fix the phar content.

Example : php -d "phar.readonly=0" fix-fmt.php

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.