« Previous | Next » 

Revision 0f82cb5b

ID0f82cb5beaa52996430bf009185ef6ce6911f33c
Parent 11615c70
Child 86f18025

Added by Bastian Waidelich about 7 years ago

[BUGFIX] Only monitor files with relevant file extensions

This change adjusts the ``ClassFiles``, ``ConfigurationFiles`` and
``TranslationFiles`` file monitors to only track changes in files with
the corresponding extension (``php`` for classes, ``yaml`` for
configuration and ``xlf`` for translations).

Background:
With the fixed ``PSR-4`` support (introduced with
I9c613df54a8b650c53b4ab8e03071432e13d3c4e) we no longer determine PHP
classes from the corresponding file path and -name, but by analyzing
the contents of the file.
Because the ``Flow_ClassFiles`` file monitor watched for changes in
all files within the classes root of all packages, this could lead
to binary files being analyzed. In some PHP versions this seem to
trigger a warning.

Change-Id: I3dd5f8052f241683b92626f5e36d0882ca70713c
Releases: master, 3.0
Fixes: FLOW-271
Related: FLOW-238

  • added
  • modified
  • copied
  • renamed
  • deleted