-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix access to undefined stack index on ExpressionParser
#67
Open
marcioAlmada
wants to merge
17
commits into
master
Choose a base branch
from
fix/php74-expression-parser
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
6c13805
Fix `:enable_parser_tracer` flag (typo)
marcioAlmada 0cf0840
Add runtime error when attempting to unpack a non unpackable Ast node
marcioAlmada ae6ee42
Fix warnings on expansion scope with non traversable nodes
marcioAlmada 08c6490
Fix warning when counting Ast with a single Token
marcioAlmada 58556cc
Allow Ast to set nested values
marcioAlmada f0d1407
Add ParsedTokenStream class and use it for expansion
assertchris 3d49888
Revert "Add ParsedTokenStream class and use it for expansion"
marcioAlmada 490d24d
Add support for constant array args to YAY DSL parsec
marcioAlmada c3dd1a3
Add support for composable Ast and TokenStream based expanders.
marcioAlmada 5bfac52
Improve error handling and error message contextualization 👀
marcioAlmada c76f655
Remove `YayStreamWraper` :bomb:
marcioAlmada 975d96a
Continue improving errors nuking `InvalidArgumentException`
marcioAlmada 36e8191
Add experimental non opinionated command line linker to `bin/yay`:
marcioAlmada 01c2896
chore: tests against php 7.2 and php 7.3
nunomaduro 9518254
Test againt php 7.4
BackEndTea 6a7fe41
Allow xdebug not to be disabled
BackEndTea 50751d5
Fix access to undefined stack index on `ExpressionParser`
marcioAlmada File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM golang:1.10.1-alpine3.7 as builder | ||
|
||
WORKDIR /go/src/nubank/authorizer | ||
|
||
RUN apk --update add git openssh && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
rm /var/cache/apk/* | ||
|
||
RUN go get -u github.com/golang/dep/cmd/dep | ||
|
||
COPY . . | ||
|
||
RUN dep ensure | ||
|
||
RUN go test -v ./... | ||
|
||
RUN go build -ldflags "-s -w" -o ./authorize | ||
|
||
FROM alpine:3.7 | ||
|
||
WORKDIR /app | ||
|
||
RUN apk add --no-cache ca-certificates | ||
|
||
COPY --from=builder /go/src/nubank/authorizer/authorize /usr/local/bin/ | ||
|
||
CMD authorize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php return [ | ||
'version' => '0.7' | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Attention: t his is the same Dockerfile that was reported with #71