Jump to content

Recommended Posts

Posted

I looked at all greppable features in the removal document and grepped through PW 2.6.9 and any modules I happened to have on my current project and the only results I got was:

Assignment of new by reference
 =&
found in:

wire\core\FieldSelectorInfo.php
wire\core\ImageSizer.php
wire\core\Modules.php
wire\core\Wire.php
wire\modules\LanguageSupport\ProcessLanguage.module
wire\modules\Markup\MarkupHTMLPurifier\htmlpurifier\HTMLPurifier.standalone.php
wire\modules\Markup\MarkupHTMLPurifier\htmlpurifier\standalone\HTMLPurifier\ConfigSchema\ValidatorAtom.php
wire\modules\Markup\MarkupHTMLPurifier\htmlpurifier\standalone\HTMLPurifier\Printer\HTMLDefinition.php
wire\modules\Process\ProcessPageEditImageSelect\ProcessPageEditImageSelect.module
wire\modules\Textformatter\TextformatterMarkdownExtra\markdown.php
wire\modules\Textformatter\TextformatterSmartypants\smartypants.php

A non-greppable removal that caught my attention is:

Scoped calls of non-static methods from incompatible $this context

Posted

Upgrading doesn't always bring better performance or safety. Use a hoster where you can choose the php version.

yes but in this case it would PHP7 is something else as for saftey maybe true.

  • 1 month later...
Posted

https://github.com/Alexia/php7mar
 

PHP 7 MAR, or just "php7mar", is a command line utility to generate reports on existing PHP 5 code to assist developers in porting their code quickly to PHP 7. It will run against invididual files or entire project folders. Reports contain line numbers, issues noted, and suggested fixes along with documentation links.

  • Like 2
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...