Valentin V

Results 19 issues of Valentin V

Right now, if parsed file contains `Node\Stmt\Namespace_` node, I can add new `Node\Stmt\Use_` node into its `stmts` array (before 1st `Node\Stmt\Class_` usage). But what if the file doesn't have a...

### DB-first application Having next annotations in the entity: ```php /** * @Cycle\Relation\BelongsTo( * target="Session", * cascade=null, * nullable=true, * innerKey="session_id", * outerKey="id", * fkCreate=null, * fkAction=null, * indexCreate=null, *...

Let's say we have a parent entity: ```php

type:enhancement
type:question
magic

When having an expression in where/order methods ORM doesn't resolve the `table.column` value in it. Example: ```php $select->where('ISNULL(date)') ``` This may not work if you have loaded relations, so it...

type:enhancement

Prerequisites: - `FilterInterceptor` is used - have a request with one (or even several) custom checkers that: -- may check for an entity existence by PK -- may check for...

type:enhancement

Allows wrapping standalone filters into a complex construction under the hood: ?filters[size]=xl&filters[color]=red to mean ```php new Filter\Any( new Filter\Equals('size', 'xl'), new Filter\Equals('color', 'red') ) ``` A user should add a...

Feature
Component: Filters

Now custom input can be mapped into a traditional structure using `InputMapperInterface`. Provided a `InputMapper` that can to mapping from the box. - if at least one section param is...

On a custom checker that implements a FileTrait (with its `resolveFilename()` method) and such a construction: ```php $filename = $this->resolveFilename($file); (new \finfo())->file($filename, FILEINFO_MIME_TYPE); ``` Got error ```finfo::file(): Spiral\Streams\StreamWrapper::stream_cast is not...

Bug
Component: Streams

It would be super helpful to view the original exception/error message instead of a wrapped one. For example: ``` [Spiral\Jobs\Exception\JobException] [App\Job\Event\EventHandler] Object of class could not be converted to string...

Bug
Component: Snapshots

Usage: ```html ``` Inside of the `ns:tag`: ```php @if(injected('one) && (inject('one') == inject('two')) {...} ```

Component: Stempler