PHP Tools for Visual Studio v1.88.18040

Released: Oct 30, 2025

Mises à jour de v1.88.18040

Fonctionnalités

  • Visual Studio 2026 Support:
    • PHP Tools is now fully compatible with this upcoming major release of Visual Studio, ensuring seamless integration, a smoother experience, and better overall performance when developing PHP applications in the next-generation IDE.
  • PHPUnit 10-12 and Pest Framework:
    • Upgraded PHP Test Explorer, extending compatibility with the latest testing frameworks and features.
    • PHP Tools now supports PHPUnit versions 10, 11, and 12, along with full compatibility for the Pest testing framework.
    • Tests using data sets are now properly recognized, and their individual executions are displayed as separate results within the Test Explorer, making it easier to analyze test coverage and pinpoint issues.
    • Improved the overall stability and reliability of test discovery and execution, providing a smoother, more consistent experience when running or debugging PHP tests.
  • CodeIgniter 3 and 4 IntelliSense:
    • Added basic support for the CodeIgniter 3 magic. Dynamic controller properties from loaded classes and models, models and views name completion and navigation, and more specific type inferring and code diagnostics.
  • IntelliSense Enhancements:
    • Improved IntelliSense engine.
    • Compatibility with Pest and Laravel has been enhanced to deliver more precise completions for $this in Pest tests, Laravel models, facades, and helpers, as well as more accurate diagnostics.
    • Improved support for CodeIgniter 3, allowing better type inference for controllers and their properties.
    • Added dedicated support for the OXID framework as well, with smarter type detection via the oxNew() factory function.
    • IntelliSense completions now appear faster and more contextually relevant, helping developers write correct, expressive PHP code with minimal effort.
  • Blade Editor and Mixed HTML Editor:
    • Editing Blade templates and mixed PHP, HTML, CSS, and JavaScript files has become significantly more reliable and accurate.
    • Added support for the Blade @use directive, which is now properly highlighted and integrated into IntelliSense. Classes imported using this directive are automatically recognized throughout the rest of the page, ensuring a smooth, cohesive editing experience when working with modern Laravel templates.
  • Code Diagnostics and Refactorings:
    • Enhanced code diagnostics and refactoring capabilities.
    • Added several new quick refactorings, making it easier to simplify and clean up code with just a few keystrokes.
    • Introduced a wide range of new diagnostics that identify PHP 8 compatibility issues and common coding pitfalls, helping you modernize your code base efficiently.
    • The diagnostics engine is also fully compatible with the new PHP 8.5 syntax, including the pipe operator (|>), ensuring full analysis coverage for the latest language features.
  • Other Improvements:
    • Made many smaller enhancements and fixes.
    • Extended the existing Code Analysis library with new rules for modern PHP syntax and coding best practices.
    • Support for PHP 8.5 has been expanded to include its newest constructs and attributes.

Correctifs

  • Blade Editor and Mixed HTML Editor:
    • Fixed several complex combinations of embedded CSS, JavaScript, and PHP code that could previously interfere with syntax highlighting or IntelliSense results.
  • Other Improvements:
    • Addressed several reported issues to ensure a smoother and more stable development experience.