magento / zf1

ZF1 adopted for Magento 2. Use composer in Magento 2 root to download it.
BSD 3-Clause "New" or "Revised" License
60 stars 61 forks source link

Fix broken YAML parsing #33

Open halfpastfouram opened 4 years ago

halfpastfouram commented 4 years ago

Signed-off-by: halfpastfouram bobkruithof@gmail.com

Fixes a bug reported in #21 that was introduced by e6487d5d7f7a2e7d1b7e71669011a39ebd1fe1f9 resulting in a broken parser.

No single YAML file can be parsed so I fixed it by emulating PHP's each functionality without having to change the existing code in the loop.