Comments (6)
Hi @proggeler thank you for the feedback!
Are you using the latest version? We introduced a forceArrayWhenRepeatable flag that I think it's what you are looking for (I wanted not to make it default not to break previous implementations), also we should have removed Arrayy from the code...
from edifact.
@sabas I was using version 0.6.1. Version 0.7.0 triggers an error when this flag is true. I think you had some debug function called d() in the Interpreter on line 600. Removing that line will do the trick.
BTW: from 0.6.x to 0.7.x you are allowed to have backward breaking code, but I like your backwards compatible approach.
Update using composer update
will ignore version update from 0.6 to 0.7. composer require php-edifact/edifact:^0.7
is needed in case (even if you had an earlier version installed). Composer will work like this until the first stable version: 1.0.0.
from edifact.
Fine I'll tag 1.0, it's time... :D
from edifact.
@sabas shall I fix the Interpreter via a pull request or is that to much overhead for just one line removing
from edifact.
@sabas thank you for your support
from edifact.
Try now, the debug line was removed already in a commit.. For the future keep in mind that also a one line fix is accepted :)
from edifact.
Related Issues (20)
- Release 0.5.0 not available via Composer HOT 2
- Possibility to have IDs instead of name as output from Interpreter::prepare HOT 5
- CDR read HOT 4
- Problems reading RFF segment from EDI-File HOT 1
- Array to string conversion, if an epty array met. HOT 1
- X12 HOT 6
- Package ramsey/array_column is abandoned HOT 2
- Trouble understanding how to get the data we need HOT 5
- Segment is ambiguous HOT 1
- Reader doesn't return full multi-line texts HOT 4
- Multiple SG2 segments not allowed HOT 8
- Issue parsing linebreaks in segments HOT 9
- Unable to parse DESADV with multiple NAD HOT 3
- Duplicate segments error after updating to v1.0/v1.1 HOT 4
- readEdiSegmentDTM for SG12 HOT 5
- File has multiple messages HOT 6
- question marks are not parsed correctly HOT 5
- Fatal error on integer-value segments for Encoder HOT 2
- Reader cannot be init with a null param HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edifact.